package com.xquant.marketdata.marketdata.mapper;

import java.util.List;
import java.util.Map;

import com.xquant.marketdata.marketdata.domain.TfndDTO;
import com.xquant.marketdata.marketdata.domain.TfndDividendDTO;
import com.xquant.marketdata.marketdata.domain.TfndPriceDTO;
import org.springframework.stereotype.Repository;

/**
 * 基金Mapper接口
 *
 * @author zipeng.li
 * @date 2022-03-07
 */
@Repository
public interface TfndMapper {
  List<TfndDTO> queryFundInfoByPage(Map<String, Object> params);

  List<TfndDividendDTO> queryFundDividendByPage(Map<String, Object> params);

  List<TfndPriceDTO> queryFundPriceByPage(Map<String, Object> params);

  void updateFundPrice(TfndPriceDTO TfndPriceDTO);

  // 获取上一个工作日
  String getLastWorkday(Map<String, Object> params);
}
